<?xml version="1.0" encoding="utf-8"?>
<html class="popupwin" xmlns="http://www.w3.org/1999/xhtml">
<!--
/***************************************************************
*  Copyright notice
*
*  (c) 2003 dynarch.com. Authored by Mihai Bazon, sponsored by www.americanbible.org.
*  (c) 2004-2008 Stanislas Rolland <stanislas.rolland(arobas)fructifor.ca>
*  All rights reserved
*
*  This script is part of the TYPO3 project. The TYPO3 project is
*  free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2 of the License, or
*  (at your option) any later version.
*
*  The GNU General Public License can be found at
*  http://www.gnu.org/copyleft/gpl.html.
*  A copy is found in the textfile GPL.txt and important notices to the license
*  from the author is found in LICENSE.txt distributed with these scripts.
*
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  This script is a modified version of a script published under the htmlArea License.
*  A copy of the htmlArea License may be found in the textfile HTMLAREA_LICENSE.txt.
*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
/*
 * Spell Checker Plugin for TYPO3 htmlArea RTE
 *
 * TYPO3 SVN ID: $Id: spell-check-ui.html 3437 2008-03-16 16:22:11Z flyguide $
 */
-->
<head>
	<title>Spell Checker</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="../spell-check-ui.js"></script>
	<script type="text/javascript">
		/*<![CDATA[*/
		<!--
		var dialog = window.opener.HTMLArea.Dialog.SpellChecker;
		// -->
		/*]]>*/
	</script>
	<style type="text/css">
		/*<![CDATA[*/
		<!--
		iframe { background-color: #fff; color: #000; height: 100%; width: 100%; }
		.controls { width: 14em; }
		.controls .sectitle { text-align: center; font-weight: bold; padding: 2px 4px; }
		.controls .secbody { margin-bottom: 10px; }
		#v_currentWord { color: #f00; font-weight: bold; }
		#statusbar { padding: 7px 0px 0px 5px; }
		#status { font-weight: bold; }
		-->
		/*]]>*/
	</style>
</head>
<body class="popupwin" onload="initDocument();">
<div id="content">
	<form style="display: none;" action="../spell-check-logic.php" method="post" target="framecontent" accept-charset="UTF-8">
		<input type="hidden" name="content" id="f_content" />
		<input type="hidden" name="dictionary" id="f_dictionary" />
		<input type="hidden" name="pspell_charset" id="f_charset" />
		<input type="hidden" name="pspell_mode" id="f_pspell_mode" />
		<input type="hidden" name="userUid" id="f_user_uid" />
		<input type="hidden" name="enablePersonalDicts" id="f_personal_dicts" />
		<input type="hidden" name="init" id="f_init" value="1" />
	</form>
	<table class="popupwin" style="height: 100%; width: 100%; border-collapse: collapse;" cellspacing="0" cellpadding="0">
	<tr>
        <td colspan="2">
		<div class="title" style="width: 100%; padding: 2px;">Spell Checker</div>
        </td>
	</tr>
	<tr>
        <td colspan="2" style="height: 1em; padding: 2px;">
          <div style="float: right; padding: 2px;"><span>Dictionary</span>
            <select id="v_dictionaries" style="width: 10em;"></select>
            <button id="b_recheck">Re-check</button>
          </div>
          <span id="status">Please wait. Calling spell checker.</span>
        </td>
	</tr>
	<tr style="height: 100%;">
        <td valign="top" class="controls">
          <div class="secbody" style="text-align: center;">
            <button id="b_info">Info</button>
          </div>
          <div class="sectitle">Original word</div>
          <div class="secbody" id="v_currentWord" style="text-align: center; margin-bottom: 2px;">pliz weit ;-)</div>
          <div class="secbody" style="text-align: center;">
            <button id="b_revert" class="long-button">Revert</button>
          </div>
          <div class="sectitle">Replace with</div>
          <div class="secbody">
            <input type="text" id="v_replacement" style="width: 94%; margin-left: 3%;" /><br />
            <div style="text-align: center; margin-top: 2px;">
              <button id="b_replace" class="long-button">Replace</button><button
                id="b_replall" class="long-button">Replace all</button><br /><button
                id="b_ignore" class="long-button">Ignore</button><button
                id="b_ignall" class="long-button">Ignore all</button><button
                id="b_learn" class="long-button">Learn</button>
            </div>
          </div>
          <div class="sectitle">Suggestions</div>
          <div class="secbody">
            <select size="11" style="width: 94%; margin-left: 3%;" id="v_suggestions"></select>
          </div>
        </td>
        <td style="height: 100%;">
          <iframe src="about:blank" width="100%" height="100%" id="i_framecontent" name="framecontent"></iframe>
        </td>
      </tr>
      <tr>
        <td style="height: 1em;" colspan="2">
          <div style="padding: 4px 2px 2px 2px; float: right;">
            <button id="b_ok">OK</button>
            <button id="b_cancel">Cancel</button>
          </div>
          <div id="statusbar"></div>
        </td>
      </tr>
    </table>
</div>
</body>
</html>
